package com.appbyme.jbase

import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.geya.mvvm_base.toast
import com.hjq.toast.ToastUtils

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        ToastUtils.init(application)
        findViewById<Button>(R.id.btn).setOnClickListener {
            "ssssssss".toast()
        }
    }
}